package com.ruoyi.season.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 赛季日常任务对象 play_season_common_task
 *
 * @author ruoyi
 * @date 2024-01-14
 */
@TableName("play_season_common_task")
public class PlaySeasonCommonTask implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;


    @Excel(name = "赛季id")
    private String playSeasonId;

    @Excel(name = "产品id")
    private String productId;

    /** 类型1视频2购买商品 */
    @Excel(name = "类型1视频2购买商品")
    private Integer type;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String detail;

    /** 任务数量 */
    @Excel(name = "任务数量")
    private Integer counts;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** vip用户积分 */
    @Excel(name = "vip用户积分")
    private BigDecimal vipIntegral;

    /** 删除标识0否1是 默认0 */
    @Excel(name = "删除标识0否1是 默认0")
    private Integer isDeleted;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getPlaySeasonId() {
        return playSeasonId;
    }

    public void setPlaySeasonId(String playSeasonId) {
        this.playSeasonId = playSeasonId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setCounts(Integer counts)
    {
        this.counts = counts;
    }

    public Integer getCounts()
    {
        return counts;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setVipIntegral(BigDecimal vipIntegral)
    {
        this.vipIntegral = vipIntegral;
    }

    public BigDecimal getVipIntegral()
    {
        return vipIntegral;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("name", getName())
            .append("detail", getDetail())
            .append("counts", getCounts())
            .append("sort", getSort())
            .append("vipIntegral", getVipIntegral())
            .append("createTime", getCreateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
